<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String basePath=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/";
%>
<html>
<head>
    <base href="<%=basePath%>">
    <script type="text/javascript" src="jquery/jquery-1.11.1-min.js"></script>

    <link rel="stylesheet" href="jquery/bootstrap_3.3.0/css/bootstrap.min.css">
    <script type="text/javascript" src="jquery/bootstrap_3.3.0/js/bootstrap.min.js"></script>

    <link rel="stylesheet" href="jquery/bootstrap-datetimepicker-master/css/bootstrap-datetimepicker.min.css">
    <script type="text/javascript" src="jquery/bootstrap-datetimepicker-master/js/bootstrap-datetimepicker.js"></script>
    <script type="text/javascript" src="jquery/bootstrap-datetimepicker-master/locale/bootstrap-datetimepicker.zh-CN.js"></script>

    <title>插件</title>
    <script type="text/javascript">
        $(function () {
          $("#myDate").datetimepicker({
              language:'zh-CN',//语言中文
              format:'yyyy-mm-dd',//日期格式
              minView:'month',//最小视图月份
              initialDate:new Date(),//初始化显示日期
              autoclose:true,//设置选择完日期或者时间之后，是否自动关闭日历
              clearBtn:true,//设置是否显示"清空"按钮，默认是false
          });
        });
    </script>

</head>
<body>
<input type="text" id="myDate" readonly>
</body>
</html>
